<?php include "header.php";?><div id="all">
        <div id="main">			<div id="m-left">				<div class="sidebar">					<div class="title">						<?php echo ($lang ==0)? "Danh mục" : "Menu";?>					</div>					<div class="content">						<ul>						<?php							if($lang == 0){								$sqlMenus = "select id, vi_name as name, url from tblmenu where parent_id =0";							} else{								$sqlMenus = "select id, en_name as name, url from tblmenu where parent_id =0";							}							$rsMenus = mysql_query($sqlMenus) or die(mysql_error());							while($menu = mysql_fetch_object($rsMenus)){								echo "<li><a href='".(($menu->url =="")? (ROOT_PATH."/m/".$menu->id) : ROOT_PATH.$menu->url)."'>".$menu->name."</a></li>";							}						?>						</ul>					</div>				</div><!-- end of sidebar -->			</div>			<div id="m-mid">				<div class="title">					<?php echo ($lang ==0)? "Liên hệ" : "Contact us";?>				</div>
            	<div class="container">                	<form action="smtp/sendmail.php" method="post" name="phanhoi">												
					       <table>								<tbody>									<tr height="30px">										<td>											<?php if($lang == 1){?>											Name:											<?php } else{											?>												Tên đại diện:											<?php											}?>										</td>												            <td><input type="text" name="name" size="35" value=''  /></td>												            </tr>
						            <tr height="30px"><td>Email:</td>						
						            <td><input type="text" name="email" size="35" value=''  /></td>						
						            </tr>						            <tr height="30px"><td>Phone:</td>												            <td><input type="text" name="phone" size="35" value=''  /></td>												            </tr>						
						            <tr height="30px">						            	<td>						            	<?php if($lang == 1){?>											Subject:										<?php } else{										?>											Chủ đề:										<?php										}?>						            	</td>						
						            <td><input type="text" name="subject"  size="35" value='' Onclick="this.value=''" /></td>						
						            </tr>						
						            <tr height="30px">						            	<td>						            		<?php if($lang == 1){ ?>											Message:										<?php } else{										?>											Nội dung:										<?php										}?>						            	</td>						
						            <td><textarea name="content" style="width: 350px; height:100px;"></textarea></td>						
						            </tr>						
						            <tr align="center">						            	<td colspan="2" height="30px">						            		<input type="button" name="send" onclick="kt();" value="<?php echo ($lang == 1) ? "Send" : "Gửi";?>"/>						            	&nbsp;&nbsp;<input type="reset" name="retype" value="<?php echo ($lang == 1) ? "Retype" : "Làm lại";?>" /></td>						            </tr>		
           								</tbody>
							</table>							<script type="text/javascript">							function kt()							{								with(document.phanhoi)								{									checkmail=/^\w(\.?[\w-])*@\w(\.?[-\w])*\.[a-z]{2,4}$/i;										if(checkmail.test(email.value)==false)										{											<?php if($lang==0){?>											alert("Email không hợp lệ!");										<?php }else{											?>											alert("Email is not valid!");										<?php }?>											email.focus();											return false;										}																				if(content.value=="")										{											<?php if($lang==0){?>												alert("Bạn chưa nhập nội dung phản hồi!");											<?php }else{												?>												alert("Please enter content!");											<?php }?>											content.focus();											return false;										}													submit();										return true;								}							}							</script>					</form>
    			</div>
        	</div>
        </div>        <div class="clear-fix"></div>        <div id="footer">			<div id="f-menu">				<ul>					<?php foreach($arrRootMenus as $rootMenu){						if($lang ==0){							echo "<li><a href='".ROOT_PATH.(($rootMenu->url=="")? "/m/".$rootMenu->id: ROOT_PATH."/".$rootMenu->url)."'>".$rootMenu->vi_name."</a></li>";						}else{							echo "<li><a href='".ROOT_PATH.(($rootMenu->url=="")? "/m/".$rootMenu->id: ROOT_PATH."/".$rootMenu->url)."'>".$rootMenu->en_name."</a></li>";						}					}?>				</ul>			</div>			<div id="copyright">				Bản quyền thuộc về khoa quốc tế đại học Thái Nguyên<br/>				Copyright &copy; 2011 <a href="http://idgit.com.vn">Idea Development Group</a>			</div>					</div>
</div>
</body>
</html>
        	

